package com.xxl.job.executor.mvc.controller;

import com.xxl.job.core.handler.annotation.XxlJob;
import com.xxl.job.executor.service.jobhandler.XmlToEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class XmlController {

    @Autowired private XmlToEntity xmlToEntity;
@XxlJob("xml")
    public void saveXmlData() throws Exception {
        //Package entity =xmlToEntity.testXmlToEntity();
        //System.out.println(entity);
    //System.out.println(entity.getPACKAGEHEAD());

    }

}
